<?php
/**
 * Description: 菜单设置
 *
 * @author      Eden
 * @datetime    2016/12/20 22:50
 * @copyright   Beijing CmsTop Technology Co.,Ltd.
 */

$config['menu'] = array(
    'system' => array(
        'name' => '系统设置',
        'url' => '',
        'icon' => 'fa-gear',
        'subMenu' => array(
            array(
                'title' => '基础设置',
                'controller' => 'setting'
            ),
            array(
                'title' => '客户端设置',
                'controller' => 'app'
            ),
            array(
                'title' => '第三方服务',
                'controller' => 'service'
            ),
            array(
                'title' => '管理员',
                'controller' => 'admin'
            ),
            array(
                'title' => '搜索设置',
                'controller' => 'search'
            ),
            array(
                'title' => '分销设置',
                'controller' => 'wx'
            ),
            array(
                'title' => '关于我们',
                'controller' => 'about'
            )
        )
    ),
    'farm' => array(
        'name' => '基地管理',
        'url' => 'farm/base/index',
        'icon' => 'fa-bank',
        'subMenu' => array()
    ),
    'goods' => array(
        'name' => '商品管理',
        'url' => '',
        'icon' => 'fa-shopping-cart',
        'subMenu' => array(
            array(
                'title' => '产品列表',
                'controller' => 'lists'
            ),
            array(
                'title' => '产品分类',
                'controller' => 'category'
            ),
            array(
                'title' => '运费模板',
                'controller' => 'express'
            )
        )
    ),
    'order' => array(
        'name' => '订单管理',
        'url' => 'order/lists/index',
        'icon' => 'fa-th-list',
        'subMenu' => array()
    ),
    'user' => array(
        'name' => '会员管理',
        'url' => 'user/lists/index',
        'icon' => 'fa-users',
        'subMenu' => array()
    ),
    'promoter' => array(
        'name' => '推广营销',
        'url' => '/',
        'icon' => 'fa-qrcode',
        'subMenu' => array(
            array(
                'title' => '优惠券',
                'controller' => 'ticket'
            )
        ),
    ),
    'money' => array(
        'name' => '资金管理',
        'url' => '',
        'icon' => 'fa-credit-card',
        'subMenu' => array(
            array(
                'title' => '充值套餐',
                'controller' => 'cashinsets'
            ),
            array(
                'title' => '充值记录',
                'controller' => 'cashin'
            ),
            array(
                'title' => '提现申请',
                'controller' => 'cashout'
            ),
        )
    ),
    'bbs' => array(
        'name' => '社区管理',
        'url' => '',
        'icon' => 'fa-linkedin-square',
        'subMenu' => array(
            array(
                'title' => '主题列表',
                'controller' => 'lists'
            ),
            array(
                'title' => '幻灯广告',
                'controller' => 'slider'
            ),
            array(
                'title' => '添加主题',
                'controller' => 'publish'
            ),
            array(
                'title' => '账号设置',
                'controller' => 'setting'
            )
        )
    )

);
